import { defineStore } from "pinia";
export let useLogin = defineStore('cart',{
    state(){
        return {
            msg:true,
            userInfo:{},
            loginLog:[],
            changes:false,
            bread:[],
            btn:[]
        }
    },
    persist:{
        storage:sessionStorage,
        paths:['userInfo','btn']
    }
})